﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

#if NETFX_CORE
using Windows.UI.Core;
#else
using System.Windows.Threading;
#endif

namespace StyleMVVM.View
{
	public interface IViewAwareStatus
	{
		event EventHandler<object> ViewLoaded;
		event EventHandler<object> ViewUnloaded;

#if DOT_NET

		event EventHandler<object> ViewActivated;
		event EventHandler<object> ViewDeactivated;

#endif

#if NETFX_CORE
		CoreDispatcher Dispatcher { get; }
#else
		Dispatcher Dispatcher { get; }
#endif

		Object View { get; }
	}
}
